﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PhotoBook.Model.NHibernate
{
    public interface IGenericRepository<T>
    {
        int Count();        
        void Delete(T obj);
        int Insert(T obj);
        IList<T> Select();        
        T SelectById(object id);
        void Update(T obj);
    }

}
